package com.exercise.hospital.service;

import com.exercise.hospital.beans.Hospital;

import java.util.List;

/**
 * HospitalService
 *
 * @author admin
 */
public interface HospitalService {

    /**
     * 获取所有 Hospital 信息
     *
     * @return
     */
    List<Hospital> getAllHospital();

    /**
     * 条件查询 Hospital
     *
     * @param name
     * @param type
     * @param department
     * @return
     */
    List<Hospital> getHospitalByCondition(String name, String type, String department);

    /**
     * 进行挂号
     *
     * @param hospital
     */
    void registration(Hospital hospital);

    /**
     * 核销挂号信息
     *
     * @param id
     */
    void updateRegisterInfo(Integer id);
}
